/*****************************************************************************/
/**
 *  @file   OverView.h
 *  @author Naohisa Sakamoto
 */
/*----------------------------------------------------------------------------
 *
 *  Copyright (c) Visualization Laboratory, Kyoto University.
 *  All rights reserved.
 *  See http://www.viz.media.kyoto-u.ac.jp/kvs/copyright/ for details.
 *
 *  $Id: OverView.h 83 2013-12-18 16:02:33Z naohisa.sakamoto $
 */
/*****************************************************************************/
#pragma once
#include "DataSet.h"
#include "ResourceMonitor.h"
#include <kvs/glut/Screen>

namespace kvs { namespace glut { class Application; } }


/*===========================================================================*/
/**
 *  @brief  Over view screen.
 */
/*===========================================================================*/
class OverView : public kvs::glut::Screen
{
private:

    DataSet* m_data_set; ///< pointer to the dataset
    ResourceMonitor* m_resource_monitor; ///< pointer to the resource monitor

public:

    OverView( kvs::glut::Application* app );

    void attachDataSet( DataSet* data_set );
    void attachResourceMonitor( ResourceMonitor* resource_monitor );
    void loadObject();

private:
    // Removes default mouse events to disable mouse operations on this screen.
    void mousePressEvent( kvs::MouseEvent* ){}
    void mouseMoveEvent( kvs::MouseEvent* ){}
    void mouseReleaseEvent( kvs::MouseEvent* ){}
};
